<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <!-- <script src="./index.js"></script>
    <script src="www.baidu.com/app/index.js"></script> -->
  </head>

  <body>
    <a href="http://127.0.0.1:5500/demo/%E4%BA%8C%E6%AE%B5/4.21-day9dom.html">111111111</a>
    <!-- 123123123
    <input type="text" id="inp" name="username" class="ppp" />
    <div id="con" data="asd" style="color: red">1235467</div>
    <button onclick="console.log(88888)">点击</button>
    <script></script> -->
    <div id="con"></div>
  </body>
  <script>
    // function fun() {
    //   document.getElementById('inp').type = 'password'
    //   document.getElementById('con').innerHTML = '99999999999999999999999999'
    //   document.getElementById('con').style = 'color:green;'
    // }
    // document.write('hello world')
    // document.write('<i style="color:red;">hello world</i>')
    // console.log('123方法')
    // console.log('123')
    // console.log('123')
    // console.log('123')
    // window.alert(1)
    // window.confirm(2)
    // window.prompt(3)
    // alert(5)
    // console.log(confirm('你确定吗？'))
    // console.log(prompt('请输入你的年龄'))
    // var asd1 = 998
    // var num2 = 2
    // var num3 = 99
    // document.getElementById('q').innerHTML = asd + num2 + num3
    // document.getElementById('con').innerHTML = asd + num2 + num3
    // document.getElementById('m').innerHTML = asd + num2 + num3
    // var num1 = prompt('请输入一个数字')
    // var num2 = prompt('请输入一个数字')
    // alert('他们的和是：' + (+num1 + +num2))
  </script>
</html>
